package com.modules.dao.sys;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.mybatis.MyBatisDao;
import com.modules.entity.sys.OrganizationEntity;


/**
 * 组织接口
 *
 * @author Administrator
 */

@MyBatisDao
public interface OrganizationDao extends BaseMapper<OrganizationEntity> {

    public int selectOwnerTenant(Integer oid);

    public int roleUseState(Integer rid);

    public OrganizationEntity useState(Integer oid);

    public List<OrganizationEntity> selectAllProject(@Param(value = "oid") Integer oid, @Param(value = "isProject") Integer isProject);

    OrganizationEntity selectProject(@Param(value = "oid") Integer oid);

    List<OrganizationEntity> selectMap(OrganizationEntity OrganizationEntity);
}
